<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body {
            background-color: #F5F5F5;
        }
        ul {
            list-style: none;
        }
        a {
            text-decoration: none;
        }
        .center {
            width: 1000px;
            margin: 0 auto;
        }
        /* 头部搜索栏*/
        header {
            height: 60px;
            padding-top: 15px;
            position: fixed;
            top: 0;
            width: 100%;
            background-color: #F5F5F5;
            z-index: 10;
        }
        header .logo {
            width: 168px;
            height: 41px;
            float: left;
            margin-right: 100px;
        }
        header .input {
            width: 410px;
            float: left;
            position: relative;
        }
        header .input>input {
            width: 374px;
            height: 35px;
            border: 1px solid #0aa1ed;
            padding: 10px;
            box-sizing: border-box;
            font-size: 14px;
        }
        header .input>img {
            width: 36px;
            height: 35px;
            position: absolute;
            right: 0;
        }
        header .right {
            float: right;
        }
        header .right>a {
            display: block;
            width: 54px;
            height: 40px;
            float: left;
            font-size: 12px;
            color: #808080;
            line-height: 40px;
            font-family: "simhei";
        }
        header .right>a>img {
            vertical-align: middle;
        }
        header .right>a:hover {
            color: #0aa1ed;
        }
        header .right a>span {
            margin-left: 10px;
            color: #666;
        }
        /* 轮播图*/
        nav ul {
            overflow: hidden;
            margin-top: 75px;
        }
        nav ul>li {
            list-style: none;
            float: left;
            margin-right: 40px;
        }
        nav ul>li>a {
            color: #ccc;
            text-decoration: none;
        }
        nav ul>li>.active {
            color: #0aa1ed;
        }
        .carousel {
            margin-top: 20px;
        }
        .carousel .imgs>img {
            height: 400px;
        }
        .carousel>.center {
            position: relative;
        }
        /* 按钮图片切换轮播图*/
        .carousel .left,.carousel .right {
            width: 35px;
            height: 70px;
            /* 使内容居中*/
            text-align: center;
            line-height: 70px;
            position: absolute;
            top: 165px;
            background-color: rgba(0,0,0,0.1);
            border-radius: 5px;
        }
        .carousel .left {
            left: 5px;
        }
        .carousel .right {
            right: 5px;
        }
        .carousel ul {
            overflow: hidden;
            position: absolute;
            left: 450px;
            bottom: 15px;
            list-style: none;
        }
        .carousel ul>li {
            width: 12px;
            height: 12px;
            border-radius: 6px;
            margin: 4px;
            background-color: #fff;
            float: left;
        }
        .carousel ul>.active {
            background-color: #0aa1ed;
        }
        /* 主体标题*/
        .f1_tit {
            margin-top: 26px;
            margin-bottom: 9px;
            height: 40px;
            background-color: #f5f5f5;
        }
        .f1_tit .center {
            border-bottom: 1px solid #e8e8e8;
        }
        .f1_tit img {
            width: 29px;
            height: 20px;
            margin-right: 18px;
        }
        .f1_tit span {
            line-height: 40px;
            font-size: 24px;
            font-weight: bold;
            color: #666;
        }
        /* 主题1F部分*/
        .f1_main .center {
            width: 1004px;
        }
        .f1_main .scale {
            transition: 1s;
        }
        .f1_main .scale:hover {
            transform: scale(1.1);
        }
        .f1_main .f1 {
            margin-bottom: 10px;
            overflow: hidden;
        }
        .f1_main .f1>.left {
            width: 611px;
            height: 376px;
            float: left;
            margin-right: 10px;
            background-color: #e8e8e8;
            position: relative;
        }
        .f1_main .f1>.left>img {
            width: 318px;
            height: 319px;
            position: absolute;
            top: 35px;
            left: 265px;
        }
        .f1_main .f1>.left>.text {
            width: 245px;
            height: 232px;
            margin-top: 68px;
            margin-left: 36px;
        }
        /* 文字部分通用*/
        .f1_main .text>.p_title {
            font-size: 32px;
            font-weight: lighter;
            color: #333;
            margin-bottom: 12px;
        }
        .f1_main .text>.p_intro {
            font-size: 12px;
            font-weight: lighter;
            color: #666;
            margin-bottom: 24px;
        }
        .f1_main .text>.p_price {
            font-size: 24px;
            font-weight: bold;
            color: #0aa1ed;
            margin-bottom: 12px;
        }
        .f1_main .text>a {
            display: block;
            width: 132px;
            height: 40px;
            line-height: 40px;
            font-size: 20px;
            color: #fff;
            background-color: #0aa1ed;
            border-radius: 5px;
            text-align: center;
            /*问题:电脑图片放大后会影响 点击按钮*/
            /*使用定位属性后才可以使用z-index调整层级*/
            position: relative;
            z-index: 10;
        }
        .f1_main .f1>.right {
            width: 375px;
            height: 376px;
            float: left;
            background-color: #e8e8e8;
            position: relative;
        }
        .f1_main .f1>.right>.text {
            width: 245px;
            height: 232px;
            margin-top: 39px;
            margin-left: 25px;
        }
        .f1_main .f1>.right>img {
            width: 292px;
            height: 232px;
            position: absolute;
            top: 130px;
            left: 75px;
        }
        .f1_main .f2 {
            overflow: hidden;
            font-size: 12px;
        }
        .f1_main .f2>.item_cat {
            width: 366px;
            height: 233px;
            float: left;
            margin-right: 20px;
            background-color: #e8e8e8;
        }
        .f1_main .f2>.item_cat>.tit {
            height: 35px;
            background-color: #0aa1ed;
            position: relative;
            font-family: "simhei";
        }
        .f1_main .f2>.item_cat>.tit>img {
            width: 29px;
            height: 20px;
            position: absolute;
            top: 8px;
            left: 10px;
        }
        .f1_main .f2>.item_cat>.tit>span {
            position: absolute;
            font-size: 16px;
            color: #fff;
            left: 49px;
            line-height: 35px;
        }
        .f1_main .f2 .item_all {
            margin-left: 12px;
            color: #62b5ec;
        }
        .f1_main .f2 .item_all>p {
            margin-top: 17px;
            margin-bottom: 9px;
            font-size: 12px;
            color: #62b5ec;
        }
        .f1_main .f2 .item_all>.item_link {
            overflow: hidden;
        }
        .f1_main .f2 .item_all>ul>li {
            margin-right: 10px;
            float: left;
        }
        .f1_main .f2 .item_all>ul>li>a {
            font-size: 12px;
            color: #0aa1ed;
        }

        .f1_main .f2>.card {
            width: 198px;
            height: 233px;
            float: left;
            margin-right: 8px;
            background-color: #e8e8e8;
        }
        .f1_main .f2>.card>img {
            width: 100%;
        }
        .f1_main .f2>.card>.p_intro {
            font-size: 12px;
            font-weight: lighter;
            color: #000;
            text-align: center;
        }
        .f1_main .f2>.card>.p_price {
            font-size: 12px;
            font-weight: bold;
            color: #0aa1ed;
            text-align: center;
            margin: 6px;
            background-color: #8b8bef;
        }
        .f1_main .f2>.card>a {
            display: block;
            width: 100px;
            height: 24px;
            background-color: #0aa1ed;
            font-size: 12px;
            color: #fff;
            text-align: center;
            line-height: 24px;
            margin: 0 auto;
        }


        /* 服务部分*/
        .service {
            width: 100%;
        }
        .service ul {
            overflow: hidden;
            height: 181px;
        }
        .service ul>li {
            width: 250px;
            float: left;
            margin-top: 50px;
            text-align: center;
        }
        /*底部部分*/
        footer {
            background-color: #fff;
            overflow: hidden;
            padding: 20px 20px 21px 20px;
        }
        footer .logo {
            float: left;
            margin-right: 120px;
        }
        footer .logo>img {
            display: block;
            margin-bottom: 10px;
        }
        footer .centerlist {
            float: left;
            overflow: hidden;
        }
        footer .centerlist>ul {
            float: left;
            text-align: center;
            margin: 0 20px;
        }
        footer .centerlist>ul>li h5 {
            color: #333;
            font-size: 14px;
        }
        footer .centerlist>ul>li a {
            color: #808080;
            font-size: 12px;
        }
        footer .download {
            float: right;
            overflow: hidden;
        }
        footer .download>.left {
            float: left;
            margin-right: 5px;
        }
        footer .download>.left img {
            display: block;
            margin: 5px 0;
        }
        footer .download>.right {
            float: left;
        }
        footer .end {
            text-align: center;
            margin-top: 26px;
            font-size: 12px;
            float: left;
            display: block;
            width: 100%;
        }



    </style>
</head>
<body>

    <header>
        <!--顶部条-->
        <div class="center">
            <img src="../img/header/logo.png" alt="logo图片" class="logo">
            <div class="input">
                <input type="text" placeholder="请输入您要搜索的内容">
                <img src="../img/header/search.png" alt="输入框里道德放大镜">
            </div>
            <div class="right">
                <a href="#"><img src="../img/header/care.png" alt="收藏图片"><span>|</span></a>
                <a href="#"><img src="../img/header/order.png" alt="订单图片"><span>|</span></a>
                <a href="#"><img src="../img/header/shop_car.png" alt="购物车图片"><span>|</span></a>
                <a href="#">帮助<span>|</span></a>
                <a href="#">登录</a>
            </div>
        </div>
    </header>
    <!-- 导航栏-->
    <nav>
        <div class="center">
            <ul>
                <li><a href="#" class="active">首页</a></li>
                <li><a href="">电脑办公</a></li>
                <li><a href="#">办公文具</a></li>
            </ul>
        </div>
    </nav>
    <!--轮播图-->
    <div class="carousel">
        <div class="center">
            <div class="imgs">
                <img src="../img/carousel/banner1.png" alt="轮播图1">
            </div>
            <div class="left">
                <img src="../img/carousel/arrow-left.png" alt="上一张图标">
            </div>
            <div class="right">
                <img src="../img/carousel/arrow-right.png" alt="下一张图标">
            </div>
            <ul>
                <li class="active"></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
            </ul>
        </div>
    </div>
    <!-- 1F标题部分-->
    <div class="f1_tit">
        <div class="center">
            <img src="../img/f1/computer_icon.png" alt="">
            <span>办公电脑 1F/</span>
        </div>
    </div>
    <!-- 1F主体部分-->
    <div class="f1_main">
        <div class="center">
            <div class="f1">
                <div class="left">
                    <img src="../img/f1/computer1.png" class="scale">
                    <div class="text">
                        <p class="p_title">灵越 燃7000系列</p>
                        <p class="p_intro">
                            酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                            英特尔HD显卡620含共享显卡内存
                        </p>
                        <p class="p_price">￥4999.00</p>
                        <a href="#" class="ckxq">查看详情</a>
                    </div>
                </div>
                <div class="right">
                    <img src="../img/f1/computer2.png" alt="" class="scale">
                    <div class="text">
                        <p class="p_title">颜值 框不住</p>
                        <p class="p_intro">
                            酷睿双核i5处理器|256GB SSD| 8GB内存<br>
                            英特尔HD显卡620含共享显卡内存
                        </p>
                        <p class="p_price">￥6888.00</p>
                        <a href="#" class="ckxq">查看详情</a>
                    </div>
                </div>
            </div>
            <div class="f2">
                <div class="item_cat">
                    <div class="tit">
                        <img src="../img/f1/icon.png" alt="">
                        <span>电脑,办公/1F</span>
                    </div>
                    <div class="item_all">
                        <p class="tit_p">电脑整机</p>
                        <ul class="item_link">
                            <li><a href="#">笔记本</a></li>
                            <li><a href="#">游戏机</a></li>
                            <li><a href="#">台式机</a></li>
                            <li><a href="#">一体机</a></li>
                            <li><a href="#">服务器</a></li>
                            <li><a href="#">联想</a></li>
                        </ul>

                        <p class="tit_p">电脑配件</p>
                        <ul class="item_link">
                            <li><a href="#">CPU</a></li>
                            <li><a href="#">SSD硬盘</a></li>
                            <li><a href="#">显示器</a></li>
                            <li><a href="#">显卡</a></li>
                            <li><a href="#">组装电脑</a></li>
                            <li><a href="#">机箱</a></li>
                        </ul>

                        <p class="tit_p">外设/游戏</p>
                        <ul class="item_link">
                            <li><a href="#">键盘</a></li>
                            <li><a href="#">鼠标</a></li>
                            <li><a href="#">u盘</a></li>
                            <li><a href="#">移动硬盘</a></li>
                            <li><a href="#">游戏设备</a></li>
                            <li><a href="#">智能单车</a></li>
                        </ul>
                    </div>
                </div>
                <div class="card">
                    <img src="../img/f1/computer3.png" alt="" class="scale">
                    <p class="p_intro">戴尔(DELL)XPS13-9360-R1609 13.3英<br>寸微边框笔记本电脑</p>
                    <p class="p_price">￥4600.00</p>
                    <a href="#">查看详情</a>
                </div>
                <div class="card">
                    <img src="../img/f1/computer4.png" alt="" class="scale">
                    <p class="p_intro">14.8mm超轻薄笔记本电脑 航海王版<br> 13.3英寸微边框笔记本电脑</p>
                    <p class="p_price">￥5600.00</p>
                    <a href="#">查看详情</a>
                </div>
                <div class="card">
                    <img src="../img/f1/computer5.png" alt="" class="scale">
                    <p class="p_intro">联想(Lenovo) YOGA900 多彩版 13.3<br>英寸微边框笔记本电脑</p>
                    <p class="p_price">￥6600.00</p>
                    <a href="#">查看详情</a>
                </div>
            </div>
        </div>
    </div>

    <!--学员服务-->
    <div class="service">
        <div class="center">
            <ul>
                <li>
                    <img src="../img/service/icon1.png">
                    <p>品质保障</p>
                </li>
                <li>
                    <img src="../img/service/icon2.png">
                    <p>私人定制</p>
                </li>
                <li>
                    <img src="../img/service/icon3.png">
                    <p>学员特供</p>
                </li>
                <li>
                    <img src="../img/service/icon4.png">
                    <p>专属特权</p>
                </li>
            </ul>
        </div>
    </div>
    <!-- 底部区域-->
    <footer>
        <div class="center">
            <!--左侧图片区域-->
            <div class="logo">
                <img src="../img/footer/logo.png">
                <img src="../img/footer/footerFont.png">
            </div>
            <!--中间区域-->
            <div class="centerlist">
                <ul>
                    <li><h5>买家帮助</h5></li>
                    <li><a href="#">新手指南</a></li>
                    <li><a href="#">服务保障</a></li>
                    <li><a href="#">常见问题</a></li>
                </ul>
                <ul>
                    <li><h5>商家帮助</h5></li>
                    <li><a href="#">商家入驻</a></li>
                    <li><a href="#">商家后台</a></li>
                </ul>
                <ul>
                    <li><h5>关于我们</h5></li>
                    <li><a href="#">关于达内</a></li>
                    <li><a href="#">联系我们</a></li>
                </ul>
            </div>
            <div class="download">
                <div class="left">
                    <p>学习商城客户端</p>
                    <img src="../img/footer/android.png">
                    <img src="../img/footer/ios.png">
                </div>
                <div class="right">
                    <img src="../img/footer/erweima.png">
                </div>
            </div>
        </div>
        <!--版权信息-->
        <div class="end">
            <p class="end">©2017 达内集团有限公司 版权所有 京ICP证xxxxxxxxxxx</p>
        </div>
    </footer>




</body>
</html>